//
//  DFNumberHelper.m
//  换换圈
//
//  Created by 艾柯斯 on 14-12-8.
//  Copyright (c) 2014年 艾柯斯. All rights reserved.
//

#import "DFNumberHelper.h"

@implementation DFNumberHelper

+ (NSInteger)integerForRandomFrom:(NSInteger)from to:(NSInteger)to {
    return (int)(from + (arc4random() % (to - from))); //+1,result is [from to]; else is [from, to)!!!!!!!
}


@end
